home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3c / ualarm.z / ualarm
Encoding:
Text File  |  2002-10-03  |  2.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4. uuuuaaaallllaaaarrrrmmmm((((3333CCCC))))                                                          uuuuaaaallllaaaarrrrmmmm((((3333CCCC))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ualarm - generate a SIGALRM signal in ``useconds'' microseconds
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<uuuunnnniiiissssttttdddd....hhhh>>>>
  13.  
  14.      uuuusssseeeeccccoooonnnnddddssss____tttt uuuuaaaallllaaaarrrrmmmm ((((uuuusssseeeeccccoooonnnnddddssss____tttt uuuusssseeeeccccoooonnnnddddssss,,,, uuuusssseeeeccccoooonnnnddddssss____tttt iiiinnnntttteeeerrrrvvvvaaaallll))));;;;
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      The _u_a_l_a_r_m() function causes the SSSSIIIIGGGGAAAALLLLRRRRMMMM signal to be generated for the
  18.      calling process after the number of real-time microseconds specified by
  19.      the _u_s_e_c_o_n_d_s argument has elapsed.  When the _i_n_t_e_r_v_a_l argument is
  20.      nonzero, repeated timeout notification occurs with a period in
  21.      microseconds specified by the _i_n_t_e_r_v_a_l argument.  If the notification
  22.      signal, SSSSIIIIGGGGAAAALLLLRRRRMMMM, is not caught or ignored, the calling process is
  23.      terminated.
  24.  
  25.      The _u_a_l_a_r_m() function returns the number of microseconds remaining from
  26.      the previous _u_a_l_a_r_m() call.  If no timeouts are pending or if _u_a_l_a_r_m()
  27.      has not previously been called, _u_a_l_a_r_m() returns 0.
  28.  
  29. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  30.      alarm(2), setitimer(2), sleep(3C).
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.